<#--这个是显示的 境内跟团游 -->
<div class="list-wrap" data-list="1" id="listContent" style="display: block;">
<#list page.content as s>
<#--循环这个a连接出来的主页面-->
    <a class="item clearfix" href="javascript:;" target="_blank">
        <div class="image">
            <img src="${s.headImgUrl}" height="150" width="200"/>
            <span class="mark-type type-10">
                    <strong>从${s.originName}出发</strong>
                    <span>${s.saleType.name}</span>
                </span>
        </div>

        <div class="detail">
            <div class="info" style="position: relative;">
                <p>已售${s.soldAmount}</p>
                <h3>
                    ${s.title}
                </h3>
                <div class="s-tag">
                    <#list s.saleTags as tag>
                        <span>${tag.tag}</span>
                    <#--<span>优选特色住宿</span>-->
                    <#--<span>充足游玩时间</span>-->
                    <#--<span>急速售后处理</span>-->
                    </#list>
                </div>
                <p>
                    <span class="t">班期:${s.state_schedule?string("MM/dd")}-${s.end_schedule?string("MM/dd")}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;店铺:&nbsp;${s.shopName}</span>
                </p>
            </div>
            <div class="extra">
                <div class="action">
                    <span class="btn">立即预定</span>
                    <div class="promo-tag"></div>
                </div>
                <span class="price"><b>￥</b><strong>${s.minPrice}</strong>起</span>
                <#if s.promotion>
                    <span class="promo-txt"><em>促销</em>每2人减300</span>
                </#if>
                <span class="discount-tag">券</span>
                <span class="discount-tag vip-discount">金卡专享</span>
            </div>
        </div>
    </a>
</#list>

    <#--分页-->
    <div style="float: right">
        <div style="float: left;" ><span style="line-height:30px"> 共${page.totalPages!}页 / ${page.totalElements}条&nbsp;&nbsp;&nbsp;</span></div>
        <div id="pagination" class="jq-pagination" style="display: inline;"></div>
    </div>
    <script>
        $("#pagination").jqPaginator({
                    totalPages: ${page.totalPages!0},
                    visiblePages: 5,
                    currentPage: ${page.number+1}||1,
                prev: '<a class="prev" href="javascript:void(0);">上一页<\/a>',
                next: '<a class="next" href="javascript:void(0);">下一页<\/a>',
                page: '<a href="javascript:void(0);">{{page}}<\/a>',
                last: '<a class="last" href="javascript:void(0);" >尾页<\/a>',
                onPageChange: function(page, type) {
            if(type == 'change'){
                $("#currentPage").val(page);
                $("#searchForm").submit();
            }
        }
        })
    </script>

</div>
